This resource address sets the configuration properties of the named group in the cluster.
URL Parameters | |
---|---|
format | The format of the posted data. Can be either
json or xml (default). This value overrides the Accept header if both are present. |
Upon success, MarkLogic Server returns a status code 202 (Accepted) if the request causes a restart, or status code 204 (No Content) if the request does not cause a restart. If the payload is malformed or the group does not exist, a status code of 400 (Bad Request) is returned. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-admin
role,
or the following privilege:
http://marklogic.com/xdmp/privileges/manage-admin
When 202 is returned, the standard "restart" payload body is also returned.
The properties that can be modified are listed below.
Note: The properties described here are for XML payloads. In general they are the
same for JSON, with the exception that, in JSON, schemas
, namespaces
, using-namespaces
, module-locations
, events
, audit-events
, and audit-restrictions
are expressed in singular form.
group-name
cache-sizing
list-cache-size
list-cache-partitions
compressed-tree-cache-size
compressed-tree-cache-partitions
expanded-tree-cache-size
expanded-tree-cache-partitions
triple-cache-size
triple-cache-partitions
triple-value-cache-size
triple-value-cache-partitions
compressed-tree-read-size
triple-cache-timeout
triple-value-cache-timeout
smtp-relay
smtp-timeout
http-user-agent
http-timeout
xdqp-timeout
host-timeout
host-initial-timeout
retry-timeout
module-cache-timeout
system-log-level
file-log-level
rotate-log-files
keep-log-files
failover-enable
xdqp-ssl-enabled
xdqp-ssl-allow-sslv3
xdqp-ssl-allow-tls
xdqp-ssl-disable-sslv3
xdqp-ssl-disable-tlsv1
xdqp-ssl-disable-tlsv1-1
xdqp-ssl-disable-tlsv1-2
xdqp-ssl-ciphers
schemas
This is a complex structure with the following children:
schema
This is a complex structure with the following children:
namespace-uri
schema-location
namespaces
This is a complex structure with the following children:
namespace
This is a complex structure with the following children:
prefix
namespace-uri
using-namespaces
This is a complex structure with the following children:
using-namespace
This is a complex structure with the following children:
namespace-uri
module-locations
This is a complex structure with the following children:
module-location
This is a complex structure with the following children:
namespace-uri
location
events-activated
events
This is a complex structure with the following children:
event
audit
This is a complex structure with the following children:
audit-enabled
rotate-audit-files
keep-audit-files
audit-events
This is a complex structure with the following children:
audit-event
This is a complex structure with the following children:
audit-event-name
audit-event-enabled
audit-restrictions
This is a complex structure with the following children:
audit-restriction
This is a complex structure with the following children:
audit-restriction-name
audit-restriction-type
audit-restriction-items
background-io-limit
metering-enabled
performance-metering-enabled
meters-database
performance-metering-period
performance-metering-retain-raw
performance-metering-retain-hourly
performance-metering-retain-daily
telemetry-log-level
telemetry-metering
telemetry-config
telemetry-usage
telemetry-session-endpoint
telemetry-proxy
s3-domain
s3-protocol
s3-server-side-encryption
s3-server-side-encryption-kms-key
s3-proxy
azure-storage-proxy
security-database
curl -X PUT --digest -u admin:admin -H "Content-type: application/json" \ -d '{"list-cache-size":300}' http://localhost:8002/manage/v2/groups/Foo/properties ==> Sets the list-cache-size property of the "Foo" group in the cluster to 300.